package cn.iocoder.yudao.module.system.videostore.dto.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class LimitedInfoDTO implements Serializable {

    @Schema(description = "限购周期类型，0:无限购（默认），1:按自然日限购，2:按自然周限购，3:按自然月限购，4:按自然年限购",
            requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "")
    private Integer period_type;

    @Schema(description = "限购数量",
            requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "")
    private Integer limited_buy_num;

}
